package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TCooperate;
import com.learn.multDataSource.model.mysql.TCooperateExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCooperateMapper {
    int countByExample(TCooperateExample example);

    int deleteByExample(TCooperateExample example);

    int deleteByPrimaryKey(Integer cooperateId);

    int insert(TCooperate record);

    int insertSelective(TCooperate record);

    List<TCooperate> selectByExample(TCooperateExample example);

    TCooperate selectByPrimaryKey(Integer cooperateId);

    int updateByExampleSelective(@Param("record") TCooperate record, @Param("example") TCooperateExample example);

    int updateByExample(@Param("record") TCooperate record, @Param("example") TCooperateExample example);

    int updateByPrimaryKeySelective(TCooperate record);

    int updateByPrimaryKey(TCooperate record);
}